package jsj;

public class computer {
   CPU cpu;
   EMS ems;
   HardDisk hardDisk;
   public void Computer(CPU cpu,EMS ems,HardDisk hardDisk) {
	    this.cpu=cpu;
	    this.ems=ems;
	    this.hardDisk=hardDisk;
 
   }
   public void showInfo() {
}
public int getCapacity() {
	System.out.println("硬盘容量：300GB");
	return 0;
}
public String getEMSType() {
	System.out.println("内容量：4GB");
	return null;
}
public int getSize() {
	
	return 0;
}
public String getCPBUrand() {
	System.out.println("CPU的品牌： Intel");
	return null;
}
public Float getFrequency() {
	System.out.println("3.8Hz");
	return null;
}
   
}
